package com.jhws.core.exception;

public class UnauthorizedException extends RuntimeException {
	public final String code;
	public final String msg;
	public final String type;

	public UnauthorizedException(String code, String type, String msg) {
		this.code = code;
		this.msg = msg;
		this.type = type;
	}

	public UnauthorizedException(String code, String type, String msg, Throwable e) {
		super(e);
		this.code = code;
		this.msg = msg;
		this.type = type;
	}
}
